package com.wjjun.test.ui.itemviewmodel

import com.wjjun.app.R
import com.wjjun.base.ui.viewmodel.BaseItemViewModel
import com.wjjun.data.bean.ArticleBean

/**
 *
 * author : wangjunjun
 * date   : 2022/7/21
 * desc   :
 */
class ArticleItemViewModel() : BaseItemViewModel<ArticleBean>() {

    constructor(data: ArticleBean) : this() {
        setData(data)
    }

    override fun getItemLayoutId(): Int {
        return R.layout.item_article
    }

    override fun getBtmDividerHeight(position: Int, maxCount: Int): Double {
        return COMMON_DIVIDER_HEIGHT
    }
}